package br.mia.unifor.crawler.executer.artifact;

import java.util.List;

public class Scenario extends CrawlerArtifact{
	private Workload workload;
	private Application application;
	private List<Metric> metrics;
	
	
	@Override
	public Scenario clone(){
		Scenario scenario = new Scenario();
		
		scenario.setWorkload(getWorkload());
		scenario.setApplication(getApplication());
		scenario.setMetrics(getMetrics());
		
		return scenario;
	}

	public String getDescription(){
		return getApplication().getDescription();
	}


	public void setMetrics(List<Metric> metrics) {
		this.metrics = metrics;
	}

	public List<Metric> getMetrics() {
		return metrics;
	}

	public void setApplication(Application application) {
		this.application = application;
	}

	public Application getApplication() {
		return application;
	}

	public void setWorkload(Workload workload) {
		this.workload = workload;
	}

	public Workload getWorkload() {
		return workload;
	}
}
